//
//  Top.h
//  mcf
//
//  Created by yuike6 yuike6 on 12-1-7.
//  Copyright (c) 2012年 yuike. All rights reserved.
//

#import <Foundation/Foundation.h>

@class TopApi;
@interface Top : NSObject
{
    TopApi * top_api_;
}

@property (nonatomic, retain) TopApi * topApi;


- (NSString *) getApi;

- (NSData *) getTopApiData:(NSString *) topApi;

- (NSData *) getTopApiDataWithTopApi: (TopApi *) topApiVlaue;

- (NSData *) getTopApiData;

- (NSString *) wapWangwangUrlString:(NSString *) sidValue;
- (NSURL *) wapWangwangUrl:(NSString *) sidValue;


+ (BOOL) isTaobaoCatalogByName:(NSString *) catalogName;

+ (NSString *) taobaoProductUrl2Taobao3GUrl:(NSString *) taobaoProductUrl;
+ (NSString *) taobao3GUrl2TaobaoProductUrl:(NSString *) taobao3GUrl;

+ (NSString *) taobao3Gurl:(NSString *) productid;
+ (NSString *) taobaoProductUrl:(NSString *) productid;


+ (NSString *) taobaoProductUrl2Taobao3GUrlAndTtid:(NSString *) taobaoProductUrl;
+ (NSString *) taobao3GUrl2TaobaoProductUrlAndTtid:(NSString *) taobao3GUrl;


+ (NSString *) taobaoProductUrlAndTtid:(NSString *) productid;

@end
